package com.dry.hw_student2.student.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author dry
 * @since 2025-04-16
 */
@Getter
@Setter
@TableName("student_course")
@ApiModel(value = "StudentCourse对象", description = "")
public class StudentCourse implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("表主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("学生编号")
    private Integer studentNo;

    @ApiModelProperty("课程编号")
    private Integer courseNo;

    @ApiModelProperty("成绩")
    private Double grade;
}
